<template>
  <div class="container">
    <h3>提现详情</h3>
    <p>提现日期：{{detail.created_at}}</p>
    <p>：{{detail.created_at}}</p>
  </div>
</template>

<script>
export default {
    name:'record',
    data(){
        return{
            detail:''
        }
    },
    mounted(){
        this.getDetail(this.$route.query.id);
    },
    methods:{
        getDetail(id){
            this.$api.getDetail({
                p:'w',
                id:id,
                api_token:localStorage.api_token
            }).then(res=>{
                this.detail = res.data
            })
        }
    }
}
</script>

<style scoped>
.container{
    padding:0 15px;
    background: #fff;
    min-height:100vh;
}
</style>